package com.cy.pj.activity.pojo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

public class Activity {
    private Long id;
    private String title;
    private String category;
    @JsonFormat(pattern = "yy/MM/dd HH:mm:ss")
    private Date startTime ;
    @JsonFormat(pattern = "yy/MM/dd HH:mm:ss")
    private Date endTime;
    private String remark;
    private Integer state;
    @JsonFormat(pattern = "yy/MM/dd HH:mm:ss")
    private Date createdTime;
    private String createdUser;

    public Long getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getCategory() {
        return category;
    }

    public Date getStartTime() {
        return startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public String getRemark() {
        return remark;
    }

    public Integer getState() {
        return state;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public String getCreatedUser() {
        return createdUser;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }
}
